﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FreeDream.Model
{
    public enum ResponseCode
    {
        [Description("请求成功")]
        OK = 200,
        [Description("参数校验失败")]
        ParameterError = 400,
        [Description("未授权")]
        UNAUTH = 401,
        [Description("禁止访问")]
        Forbidden = 403,
        [Description("无此方法")]
        UNKNOW = 404,
        [Description("处理未到达期望")]
        NOEXPECT = 407,
        [Description("参数类型错误")]
        PARAMERROR = -998,
        [Description("接口错误")]
        GOLABLERROR = -999
    }
}
